﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities.Auditing;

namespace Acme.BookStore
{
    /// <summary>
    /// 购物车
    /// </summary>
    public class ShoppingCart: FullAuditedAggregateRoot<Guid>
    {        
        /// <summary>
        /// 客户
        /// </summary>
        public Guid UserId { get; set; }
        /// <summary>
        /// 商品Id
        /// </summary>
        public Guid GoodsId { get; set; }
        /// <summary>
        /// 购买数量
        /// </summary>
        public int GoodsNum { get; set; }
    }
}
